﻿using System;
using WeiXinSDK.DataModel;

namespace WeiXinSDK
{
    public interface IWeiXinEvent
    {
        /// <summary>
        /// 异步
        /// </summary>
        /// <param name="RequestXML"></param>
        /// <returns></returns>
        void AsyncProcess(RequestXML RequestXML);

        /// <summary>
        /// 同步
        /// </summary>
        /// <param name="RequestXML"></param>
        /// <returns></returns>
        Message SyncProcess(RequestXML RequestXML);
    }
}
